package cloud.demarcia.rabbitregister.enums;

public enum LoginStatusCode {
    SUCCESS(200,"登录成功"),
    SYSTEM_ERROR(499,"系统错误"),
    USER_NOT_EXIST(621,"账号不存在"),
    PASSWORD_ERROR(622,"密码错误"),
    INPUT_INVALID(623,"输入格式错误");

    private Integer code;
    private String message;

    LoginStatusCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
